export const rulesContent = {
  name: [
    {
      required: true,
      message: '请输入直播间名称',
      trigger: ['blur', 'change'],
    },
  ],
  goods_image: [
    {
      required: true,
      message: '请上传直播间封面',
      trigger: 'change',
    },
  ],
  nickname: [
    {
      required: true,
      message: '请输入主播昵称',
      trigger: ['blur', 'change'],
    },
  ],
  start_time: [
    {
      required: true,
      message: '请输入主播开始时间',
      trigger: ['blur', 'change'],
    },
  ],
  end_time: [
    {
      required: true,
      message: '请输入主播结束时间',
      trigger: ['blur', 'change'],
    },
  ],
  desc: [
    {
      required: true,
      message: '请输入主播简介',
      trigger: ['blur', 'change'],
    },
  ],
};


export const rulesGood = {
  coupon_id: [
    {
      required: true,
      message: '请选择商品',
      trigger: 'change',
    },
  ],
};


export const rulesAward = {
  resource: [
    {
      required: true,
      trigger: ['blur', 'change'],
      message: '请输入赠送数量',
    },
  ],
  name: [
    {
      required: true,
      message: '请选择优惠卷类型',
      trigger: 'change',
    },
  ],
}
